Chapter 7 - Electronic Spreadsheet

πŸ“Š Electronic Spreadsheet

Chapter 7 - ICT Grade 10

7.1 Introduction to Electronic Spreadsheets

What is an Electronic Spreadsheet?

An electronic spreadsheet is a computer application that consists of multiple rows and columns, based on the model of square-ruled books. It allows you to perform calculations easily and accurately.

Electronic Spreadsheet Introduction

Figure 7.1: Electronic Spreadsheet concept based on square-ruled books

7.1.1 What Can You Do with Spreadsheets?

  • βœ… Simple and complex calculations - From basic addition to advanced mathematical operations
  • πŸ“Š Presentation of data in charts - Visual representation of your data
  • ⬆️⬇️ Sort data - Show data in ascending and descending order
  • πŸ” Filter data - Segregate only the required data
  • βœ“ Data validation - Check the validity of data
  • πŸ”’ Protection - Protect data using passwords
  • πŸ’Ύ Storage - Save for future use

7.1.2 Popular Spreadsheet Software

Software Company/Organization Type
Microsoft Excel Microsoft Corporation Commercial
LibreOffice Calc The Document Foundation Free & Open Source
Numbers Apple Inc. Commercial (Mac/iOS)
OpenOffice Calc Apache Foundation Free & Open Source
πŸ’‘ How to Start Spreadsheet Applications:
  • Microsoft Excel 2010:
    Start β†’ Programs β†’ Microsoft Office β†’ Microsoft Office Excel 2010
  • LibreOffice Calc:
    Start β†’ Programs β†’ LibreOffice β†’ LibreOffice Calc

7.2 User Interface and Components

7.2.1 Microsoft Excel 2010 Interface

Microsoft Excel 2010 Interface

Figure 7.2: Microsoft Excel 2010 User Interface with labeled components

Component Function
1. Quick Access Toolbar Contains commonly used commands like Save, Undo, Redo, Print Preview, New
2. Title Bar Shows the name of the application and the current file name
3. Ribbon Contains tabs with commands (Home, Insert, Page Layout, Formulas, Data, Review, View)
4. Help Provides help functions and documentation
5. Control Buttons To minimize, maximize/restore, or close the worksheet window
6. Insert Function Opens dialog box to create and insert formulas
7. Tabs Changes the ribbon display to show different command groups
8. Formula Bar Displays the contents and formulas of the active cell
9. Column Headings Shows column names (A, B, C, ...)
10. Name Box Shows the address of the active cell
11. Vertical Scroll Bar Scrolls the worksheet vertically (up and down)
12. Active Cell The currently selected cell (displays with a thick border)
13. Row Headings Shows row numbers (1, 2, 3, ...)
14. Sheet Tabs Represents different worksheets in the workbook (Sheet1, Sheet2, etc.)
15. Horizontal Scroll Bar Scrolls the worksheet horizontally (left and right)
16. Worksheet Navigation Buttons to navigate between worksheets
17. Status Bar Displays worksheet status and quick calculations (Sum, Average, Count)
18. View Buttons Enables changing the view of the worksheet (Normal, Page Break, Page Layout)
19. Zoom Control Zooms in or zooms out the view of the worksheet

7.2.2 LibreOffice Calc Interface

LibreOffice Calc Interface

Figure 7.3: LibreOffice Calc User Interface with labeled components

Component Function
1. Title Bar Shows the name of the application software and file
2. Menu Bar Helps to select commands (File, Edit, View, Insert, Format, Tools, Data, Window, Help)
3. Standard Toolbar Useful to select standard tools (New, Open, Save, Print, etc.)
4. Control Buttons Minimizes, maximizes, or closes the worksheet window
5. Name Box Shows the address of the active cell
6. Insert Function Opens dialog box to create formulas
7. Formula Bar To view formulas and display the contents of a cell
8. Formatting Toolbar Helps to format worksheet (font, size, bold, italic, alignment, etc.)
9. Active Cell Displays the cell in which data is entered
10. Column Headings Shows column names
11. Vertical Scroll Bar Scrolls worksheet vertically
12. Row Headings Shows row numbers
13. Horizontal Scroll Bar Scrolls worksheet horizontally
14. Sheet Tabs Represents different worksheets
15. Tab Scroll Button Changes between worksheets
16. Status Bar Displays the status of the worksheet
17. Zoom Control Zooms in or zooms out the view of worksheet

7.2.3 Worksheet Structure

What is a Worksheet?

A worksheet is made up of a multitude of cells created by the intersection of columns and rows on a two-dimensional plane. Each worksheet is denoted by a sheet tab.

Column Naming in Worksheets

Each column of a worksheet is assigned an English letter or a combination of letters:

  • Single letters: A, B, C, D, ... up to Z
  • Double letters: AA, AB, AC, AD, ... up to AZ
  • Then: BA, BB, BC, BD, ... up to BZ
  • And so on...

Row Naming in Worksheets

Each row of a worksheet is assigned a row number: 1, 2, 3, 4, 5, ...

Rows and Columns

Figure 7.4: Positions of rows and columns in a worksheet

πŸ’‘ Did You Know?

The number of rows and columns in a worksheet is usually a power of two!

Worksheet Application Number of Rows Number of Columns
Microsoft Excel 2003 65,536 (216) 256 (28)
Microsoft Excel 2007/2010 1,048,576 (220) 16,384 (214)
LibreOffice Calc 4.1 1,048,576 (220) 1,024 (210)

7.2.4 Active Cell

A cell must be selected before entering data in it. The currently selected cell is called an active cell. An active cell always has a thick border around it.

Active Cell

Figure 7.5: Active cell (B3) shown with thick border

7.2.5 Cell Address

Cell Address Naming Convention:

A cell address is denoted first by the column letter and secondly by the row number. The address of the active cell is displayed in the Name Box.

Example: A cell at column D and row 3 would be named D3

Cell Address

Figure 7.6: Cell address D3 shown in Name Box

Quick Activity

The cell address KD74 is situated in row number ______ and column letter ______.

Answer: Row 74, Column KD

7.2.6 Range of Cells

A block of adjacent cells in a worksheet that is highlighted or selected is called a range of cells.

Types of Cell Ranges:

Type Example Description Constant
Column Range B2:B5 Range along a column (cells B2, B3, B4, B5) Column letter is constant
Row Range A3:C3 Range along a row (cells A3, B3, C3) Row number is constant
Block Range B2:C4 Range spanning rows and columns (cells B2, B3, B4, C2, C3, C4) Both vary
Cell Ranges

Figure 7.7: Different types of cell ranges in a worksheet

πŸ’‘ Selecting Multiple Ranges:

Use the Ctrl key to select more than one non-adjacent range of cells in a worksheet.

7.2.7 Navigation in Worksheet

The active cell in a worksheet can be moved and selected using keyboard keys or key combinations:

Key/Combination Result
Arrow Keys Move one cell in any direction (left, right, up, down)
Ctrl + Arrow Keys Moves to the end of the data range in that direction
Home Moves to column A along the row where the active cell is
Ctrl + Home Moves to cell A1
Ctrl + End Moves to the bottom-right cell of the data range
Page Up Moves the worksheet one screen up
Page Down Moves the worksheet one screen down

7.3 Entering Data in Worksheets

Before entering data in a worksheet, you must select the required cell. The contents of a cell can be one of three types:

7.3.1 Labels (Text)

What are Labels?

A combination of letters, numbers, special symbols, or text entered using a keyboard are called labels.

Default Alignment: Labels are left-aligned by default.

Labels Example

Figure 7.8: Labels in a worksheet are left-aligned

⚠️ Important Note about Phone Numbers:

Telephone numbers starting with 0 will not be displayed correctly (the first 0 is not shown). You need to format the cells as 'Text' before entering phone numbers. This will be discussed in the formatting section.

7.3.2 Values (Numbers)

What are Values?

Data with numerical figures are called values.

Default Alignment: Values are right-aligned by default.

Values Example

Figure 7.9: Values in a worksheet are right-aligned

πŸ’‘ Entering Fractions:

When entering fraction numbers (like 2Β½), enter a space after the whole number. For example: 2 1/2

7.3.3 Formulas

What are Formulas?

Expressions beginning with an equals sign = using values, cell addresses, and functions are called formulas.

Display: When a formula is entered in a cell:

  • The result is displayed in the cell
  • The formula is shown in the Formula Bar
Formula Example

Figure 7.10: Formula shown in Formula Bar, result shown in cell

Example: Adding Two Cells

To get the total value of cells A1 and B1 into cell C1:

Cell A1: 5 Cell B1: 3 Cell C1: =A1+B1 Result shown in C1: 8 Formula shown in Formula Bar: =A1+B1

7.4 Mathematical Operators and Formulas

7.4.1 Mathematical Operators Used in Formulas

Operator Meaning Example Result
+ Addition =2+4 6
- Subtraction =5-2 3
* Multiplication =4*5 20
/ Division =12/6 2
^ Exponentiation (Power) =2^4 16
πŸ’‘ Using Brackets:

The order of evaluation can be changed by using brackets ( ). Expressions within brackets are evaluated first!

7.4.2 Operator Precedence (Order of Operations)

⚠️ CRITICAL: Order of Evaluation
  1. First: ^ (Exponentiation)
  2. Second: * and / (Multiplication and Division) - left to right
  3. Third: + and - (Addition and Subtraction) - left to right

Remember: When brackets are not used, operators at the same level (like * and /, or + and -) are executed from left to right.

Examples with Brackets:

Formula Evaluation Steps Result
=2+4*3 =2+12 14
=(2+4)*3 =6*3 18
=4*3^2 =4*9 36
=(4*3)^2 =12^2 144

Complex Formula Evaluation Examples:

Example 1: =5+2*3^2/6-3

Step 1: =5+2*3^2/6-3 Step 2: =5+2*9/6-3 (calculate 3^2 = 9) Step 3: =5+18/6-3 (calculate 2*9 = 18) Step 4: =5+3-3 (calculate 18/6 = 3) Step 5: =8-3 (calculate 5+3 = 8) Answer: =5

Example 2: =5+2*3^2/(6-3)

Step 1: =5+2*3^2/(6-3) Step 2: =5+2*3^2/3 (calculate 6-3 = 3 in brackets) Step 3: =5+2*9/3 (calculate 3^2 = 9) Step 4: =5+18/3 (calculate 2*9 = 18) Step 5: =5+6 (calculate 18/3 = 6) Answer: =11

Example 3: =8/2*3-2^3+5

Step 1: =8/2*3-2^3+5 Step 2: =8/2*3-8+5 (calculate 2^3 = 8) Step 3: =4*3-8+5 (calculate 8/2 = 4) Step 4: =12-8+5 (calculate 4*3 = 12) Step 5: =4+5 (calculate 12-8 = 4) Answer: =9

Practice Activity: Evaluate These Formulas

  1. =6-4/2 (Answer: 4)
  2. =5*4+3 (Answer: 23)
  3. =3+4*5 (Answer: 23)
  4. =2^5+3 (Answer: 35)
  5. =3+5^2 (Answer: 28)
  6. =4+5*2^3 (Answer: 44)
  7. =8/4*2 (Answer: 4)
  8. =-4/2+2 (Answer: 0)
  9. =1+2^2*3 (Answer: 13)
  10. =3*4/2 (Answer: 6)
  11. =5/2+1^3*4 (Answer: 6.5)
  12. =3-4*3/2 (Answer: -3)
  13. =6/3*2^1-3 (Answer: 1)
  14. =3*(2+4)/9+1 (Answer: 3)
  15. =2^3/(5-1)^3*5 (Answer: 0.625)

7.4.3 Formulas with Cell Addresses and Operators

Main Advantage of Using Cell Addresses:

When the values in the referenced cells change, the results obtained from the formulas automatically update! This is the power of spreadsheets.

Example 1: Rectangle Perimeter and Area

Calculate the perimeter and area of a rectangle when length and breadth are given:

Rectangle Formula
Cell A2: Length = 5 Cell B2: Breadth = 3 Cell C2: Perimeter Formula = =2*(A2+B2) Result: 16 Cell D2: Area Formula = =A2*B2 Result: 15

Try it: Change the values in A2 and B2, and watch the results update automatically!

Example 2: Price Calculation

Calculate the total cost of pencils and books:

Price Calculation
Cell B1: Price of 1 pencil = 5 Cell B2: Price of 1 book = 45 Cell B3: Price of 5 pencils = =B1*5 Result: 25 Cell B4: Price of 3 books = =B2*3 Result: 135 Cell B5: Total price = =B3+B4 Result: 160

Example 3: Cube Surface Area and Volume

Calculate the surface area and volume of a cube:

Cube Formula
Cell B1: Side length = 5 Cell B2: Surface Area = =6*B1^2 Result: 150 (Formula: 6 Γ— sideΒ²) Cell B3: Volume = =B1^3 Result: 125 (Formula: sideΒ³)
⚠️ CRITICAL MISTAKE TO AVOID:

D2=A2*B2 ❌ WRONG! This is treated as text (label), not a formula.

=A2*B2 βœ… CORRECT! This is treated as a formula.

Remember: Always start formulas with = and never write anything on the left side of the equals sign!

πŸ’‘ Important Note:

The results obtained from a formula (based on cell addresses) always get updated automatically when the values of the cells mentioned in the formula change. This is what makes spreadsheets so powerful!

7.5 Using Functions for Calculations

Why Use Functions?

When there is a large quantity of data, it becomes difficult and complex to write formulas using only cell addresses. Functions make calculations simpler and more efficient!

7.5.1 Common Spreadsheet Functions

Function Syntax Purpose
SUM =SUM(Number1,Number2,...) Adds the values contained in a range of cells
AVERAGE =AVERAGE(Number1,Number2,...) Finds the average of the values in a range of cells
MAX =MAX(Number1,Number2,...) Finds the largest value in a range of cells
MIN =MIN(Number1,Number2,...) Finds the smallest value in a range of cells
COUNT =COUNT(Number1,Number2,...) Counts the number of cells containing numbers within a range

Comparison: Cell Addresses vs Functions

Method 1 - Using Cell Addresses (Long way):

=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10

Method 2 - Using Function (Short way):

=SUM(A1:A10)

βœ… Both methods give the same result, but Method 2 is much simpler and easier, especially with large data ranges!

7.5.2 Sample Worksheet for Function Examples

Function Worksheet

Figure 7.11: Sample worksheet with data for function examples

7.5.3 SUM Function Examples

Formula Details Result
=SUM(A1,B1,C1) Sum of cells A1, B1, and C1 12
=SUM(A1:C1) Sum of cells in range from A1 to C1 12
=SUM(A1:C1,B2) Sum of range A1:C1 and cell B2 15
=SUM(B1:C2) Sum of cells in range from B1 to C2 20
=SUM(A1:A3,C1:C3) Sum of two separate ranges 35

7.5.4 AVERAGE Function Examples

Formula Details Result
=AVERAGE(A1,B1,C1) Average of cells A1, B1, and C1 4.00
=AVERAGE(A1:C1) Average of cells in range A1:C1 4.00
=AVERAGE(A1:C1,B2) Average of range A1:C1 and cell B2 3.75
=AVERAGE(B1:C2) Average of range B1:C2 5.00
=AVERAGE(A1:A3,C1:C3) Average of two ranges A1:A3 and C1:C3 5.83
πŸ’‘ About Decimal Places:

When the average is calculated, a decimal number with several decimal places may be displayed. You can format the cell to show the required number of decimal places (this will be covered in the formatting section).

7.5.5 MAX Function Examples

Formula Details Result
=MAX(A1,B2,C1) Largest value among cells A1, B2, and C1 6
=MAX(A2:C2,B3) Largest value in range A2:C2 and cell B3 9
=MAX(A1:C1) Largest value in range A1:C1 6
=MAX(A1,B1:C2) Largest value in range B1:C2 and cell A1 7

7.5.6 MIN Function Examples

Formula Details Result
=MIN(A1,B2,C1) Smallest value among cells A1, B2, and C1 2
=MIN(A2:C2,B3) Smallest value in range A2:C2 and cell B3 3
=MIN(A1:C1) Smallest value in range A1:C1 2
=MIN(A1,B1:C2) Smallest value in range B1:C2 and cell A1 2

7.5.7 COUNT Function Examples

Formula Details Result
=COUNT(A1,B1) Count cells with numbers in A1 and B1 2
=COUNT(A1:C1) Count cells with numbers in range A1:C1 3
=COUNT(A1:A4) Count cells with numbers in range A1:A4 3
=COUNT(A1:C1,B2) Count cells with numbers in A1:C1 and B2 4
=COUNT(B1:C3) Count cells with numbers in range B1:C3 6
=COUNT(A1:A3,C1:C3) Count cells with numbers in two ranges 6

Practice Activity: Student Marks Analysis

Based on the following data, answer the questions:

Name Term 1 Term 2 Term 3 Total Average
K. Bhanu Somarathne 75 82 78 E2 F2
Wasantham Jayaraj 68 72 70 E3 F3
  1. What is the formula to insert in E2 to find total marks for K. Bhanu Somarathne?

    Answer: =SUM(B2:D2)

  2. What is the formula to insert in F3 to find average marks for Wasantham Jayaraj?

    Answer: =AVERAGE(B3:D3)

  3. What is the formula to insert in B8 to find the highest score in Term 1?

    Answer: =MAX(B2:B7)

  4. What is the formula to insert in C8 to count students who appeared for Term 2?

    Answer: =COUNT(C2:C7)

  5. What is the formula to insert in D8 to find lowest score in Term 3?

    Answer: =MIN(D2:D7)

7.6 Formatting the Worksheet

Formatting makes your worksheets more readable, professional, and easier to understand. You can format using the formatting toolbar or the Format Cells dialog box.

7.6.1 Formatting Toolbar

Formatting Toolbar

Figure 7.12: Formatting toolbar in Excel and Calc

Tool Function
Font Apply different font types (Arial, Times New Roman, Calibri, etc.)
Font Size Change font size (8, 10, 12, 14, 16, etc.)
Bold (B) Make selected text bold
Italic (I) Italicize selected text
Underline (U) Underline selected text
Left Align Align text to the left of the cell
Center Align Align text to the center of the cell
Right Align Align text to the right of the cell
Vertical Top Alignment Align text to the top of a cell
Vertical Middle Alignment Align text to the middle of a cell
Vertical Bottom Alignment Align text to the bottom of a cell
Orientation Rotate text to diagonal angle or vertical orientation
Number Format Choose how values in a cell are displayed
Increase Decimals Show more decimal places
Decrease Decimals Show fewer decimal places

7.6.2 Format Cells Dialog Box

πŸ’‘ How to Open Format Cells Dialog:
  • Excel 2010: Home Tab β†’ Number Group (click the small arrow)
  • LibreOffice Calc: Format β†’ Cells
  • Shortcut (Both): Right-click on selected cell(s) β†’ Format Cells
Format Cells Dialog

Figure 7.13: Format Cells dialog box

7.6.3 Number Formatting Types

1. Formatting with Decimal Places

When division is performed, different numbers of decimal places may appear. Format cells to show a fixed number of decimal places.

Decimal Format

Figure 7.14: Numbers formatted to 2 decimal places

Steps to Format Decimal Places:

In Microsoft Excel 2010:

  1. Select the range of cells
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Number' category
  5. Change the decimal places as required
  6. Click 'OK'

In LibreOffice Calc:

  1. Select the range of cells
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Number' category
  5. Change the decimal places as required
  6. Click 'OK'

2. Formatting as Text (for Phone Numbers)

A telephone number consists of 10 digits. When a number starting with 0 is entered, the zero will not be displayed because it's stored as a numeric value. Format cells as 'Text' before entering phone numbers.

Text Format

Figure 7.15: Phone numbers formatted as text to preserve leading zeros

Steps to Format as Text:

In Microsoft Excel 2010:

  1. Select the range of cells
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Text' category
  5. Click 'OK'
  6. Now enter the phone numbers

In LibreOffice Calc:

  1. Select the range of cells
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Text' category
  5. Click 'OK'
  6. Now enter the phone numbers

3. Formatting as Percentage

Display decimal values as percentages to make them easier to understand.

Percentage Format

Figure 7.16: Numbers formatted as percentages

Example: Monthly Profit

MonthProfit (Decimal)Profit (Percentage)
January0.1515%
February0.2222%
March0.1818%

Steps to Format as Percentage:

In Microsoft Excel 2010:

  1. Select the cell range
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Percentage' category
  5. Change the decimal places as required
  6. Click 'OK'

4. Formatting as Currency

Display monetary values with currency symbols (Rs., $, €, Β£, etc.).

Currency Format

Figure 7.17: Numbers formatted with currency symbols

Steps to Format as Currency:

In Microsoft Excel 2010:

  1. Select the cell range
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Currency' category
  5. Choose currency symbol (Rs., $, etc.)
  6. Click 'OK'

5. Formatting as Date

Display dates in various formats. In computers, the date 5/12/2014 means May 12, 2014 (American format: mm/dd/yyyy).

Date Format

Figure 7.18: Various date formats

Common Date Formats:

  • 5/12/2014 (mm/dd/yyyy)
  • 12-May-2014
  • May 12, 2014
  • 12/05/2014 (dd/mm/yyyy)
  • 2014-05-12 (yyyy-mm-dd)

Steps to Format as Date:

In Microsoft Excel 2010:

  1. Select the range of cells
  2. Open the 'Format Cells' dialog box
  3. Click the 'Number' tab
  4. Select 'Date' category
  5. Select the date format you want
  6. Click 'OK'

6. Formatting as Time

Display time in various formats. The common format is hh:mm:ss AM/PM (hours:minutes:seconds).

Time Format

Figure 7.19: Various time formats

Common Time Formats:

  • 10:35:53 AM (12-hour with seconds)
  • 10:35 AM (12-hour without seconds)
  • 22:35:53 (24-hour with seconds)
  • 22:35 (24-hour without seconds)

7. Formatting as Scientific Notation

Spreadsheets can handle very large and very small numbers. Scientific notation makes these numbers easier to understand and express.

Scientific Format

Figure 7.20: Numbers in scientific notation

Scientific Notation Examples:

Standard FormScientific Notation
1,500,0001.50E+06
0.0000252.50E-05
350,000,0003.50E+08

7.6.4 Alignment Formatting

Labels and values can be aligned to the left, center, or right of cells.

Left Alignment Center Alignment Right Alignment
Text aligned left Text centered Text aligned right

Steps to Format Alignment:

In Microsoft Excel 2010:

  1. Select the cell range
  2. Open the 'Format Cells' dialog box
  3. Click the 'Alignment' tab
  4. Select left, right, or center for horizontal alignment
  5. Select top, middle, or bottom for vertical alignment
  6. Click 'OK'

Formatting Practice Activity

Create a worksheet with the following data and apply formatting:

Department January February March Total Average
Arts120135142??
Science98105112??
Commerce156148160??

Tasks:

  1. Center align column A and row 1
  2. Make row 1 Bold
  3. Underline the heading. Make font size 16
  4. Italicize cells A2, A3, A4
  5. Use SUM function to calculate totals
  6. Use AVERAGE function to calculate averages
  7. Format averages to 2 decimal places

7.7 Relative and Absolute Cell References

7.7.1 Copying Formulas

One of the most powerful features of spreadsheets is the ability to copy formulas quickly! This makes calculations on large data sets much faster and more efficient.

Fill Handle

The small black square in the bottom-right corner of the selected cell or range is called the fill handle.

Fill Handle

Figure 7.21: Fill handle location

Two Methods to Copy Formulas:

Method 1: Using the Fill Handle

  1. Select the cell containing the formula
  2. Click on the small black square (fill handle) in the bottom-right corner
  3. Drag the fill handle up, down, left, or right to the required cells
  4. Release the mouse button

Method 2: Using Copy and Paste Commands

  1. Select the cell containing the formula
  2. Copy the cell (Ctrl+C)
  3. Select the destination cell(s)
  4. Paste (Ctrl+V)

7.7.2 Types of Cell References

Type Example Description What Changes When Copied
Relative Reference A1 Normal cell reference Both column and row change
Absolute Row A$1 Dollar before row number Only column changes, row stays fixed
Absolute Column $A1 Dollar before column letter Only row changes, column stays fixed
Absolute Reference $A$1 Dollar before both Nothing changes - completely fixed
⚠️ Remember the $ Sign!

The dollar sign ($) is used to make cell references absolute. It "locks" the row number or column letter (or both) so they don't change when the formula is copied.

7.7.3 Relative Cell Reference (A1)

Definition:

If the row number and column letter of cells change accordingly when a formula is copied, such cell addresses are called relative cell references.

Relative Reference

Figure 7.22: Relative cell reference example

Example: How Relative References Change

Cell C1 contains: =A1+B1 When copied to C2: =A2+B2 (both row numbers increase by 1) When copied to C3: =A3+B3 (both row numbers increase by 2) When copied to D1: =B1+C1 (both column letters shift right by 1) When copied to D2: =B2+C2 (both adjust relative to new position)

Notice how both the column letters and row numbers adjust relative to the new position!

7.7.4 Absolute Row Reference (A$1)

Definition:

If the row number stays fixed but the column letter changes when a formula is copied, it's called an absolute row reference.

Absolute Row Reference

Figure 7.23: Absolute row reference example

Example: How Absolute Row Works

Cell C1 contains: =A$1+B$1 When copied to C2: =A$1+B$1 (row number 1 stays fixed) When copied to C3: =A$1+B$1 (row number 1 still stays fixed) When copied to D1: =B$1+C$1 (columns change, but row 1 is fixed) When copied to D2: =B$1+C$1 (columns change, row 1 still fixed)

Practical Example: Price per Pencil

Calculate the price of different quantities of pencils when the unit price is in cell B2:

Pencil Price
Cell B2: Price per pencil = 5 Cell A3: 1 pencil Cell C3: =A3*B$2 Result: 5 Cell A4: 2 pencils Cell C4: =A4*B$2 Result: 10 Cell A5: 5 pencils Cell C5: =A5*B$2 Result: 25 Notice: A3, A4, A5 change (relative) B$2 stays fixed (absolute row)

7.7.5 Absolute Column Reference ($A1)

Definition:

If the column letter stays fixed but the row number changes when a formula is copied, it's called an absolute column reference.

Absolute Column Reference

Figure 7.24: Absolute column reference example

Example: How Absolute Column Works

Cell C1 contains: =$A1+$B1 When copied to C2: =$A2+$B2 (columns A and B stay fixed, rows change) When copied to C3: =$A3+$B3 (columns A and B still fixed, rows change) When copied to D1: =$A1+$B1 (columns stay A and B, even when copied right) When copied to D2: =$A2+$B2 (columns still A and B, rows change)

Practical Example: Cumulative Cricket Runs

Calculate cumulative runs after each over:

Cricket Runs
Cell C3: =SUM($B3:C3) (cumulative runs up to Over 2) Cell D3: =SUM($B3:D3) (cumulative runs up to Over 3) Cell E3: =SUM($B3:E3) (cumulative runs up to Over 4) Notice: $B3 stays fixed (start of range) C3, D3, E3 change (end of range moves)

7.7.6 Absolute Cell Reference ($A$1)

Definition:

If both the column letter and row number stay completely fixed when a formula is copied, it's called an absolute cell reference.

Absolute Reference

Figure 7.25: Absolute cell reference example

Example: How Absolute Reference Works

Cell C1 contains: =$A$1+B1 When copied ANYWHERE: $A$1 always stays exactly the same! Copied to C2: =$A$1+B2 Copied to D3: =$A$1+C3 Copied to Z99: =$A$1+Y99 $A$1 never changes, no matter where you copy the formula!

Practical Example: Book Price Table

Calculate book prices for different quantities and dozens, using a fixed unit price:

Book Price Table
Cell C1: Unit price = 250 Formula in D4: =$C$1*D3 (price for quantity in D3) Formula in C5: =$C$1*12 (price for 1 dozen) When copied across row 4: D4, E4, F4... (all use $C$1) When copied down column C: C5, C6, C7... (all use $C$1) $C$1 stays fixed everywhere - it's the anchor!

7.7.7 Quick Reference Summary

Reference Type When to Use Real-World Example
A1
(Relative)
Normal formulas that adjust in all directions Adding adjacent cells, calculating totals in tables
A$1
(Absolute Row)
Fixed row with changing columns Multiplying by prices/rates in a header row
$A1
(Absolute Column)
Fixed column with changing rows Cumulative totals, running balances
$A$1
(Absolute)
One fixed value used everywhere Tax rate, discount %, currency conversion rate

Practice Activity: Cell References

Question 1: If cell C1 contains =A1*B1, what will appear in C3 after copying?

Answer: =A3*B3 (relative reference adjusts)

Question 2: If cell D2 contains =A$2*D1, what will appear in E3 after copying?

Answer: =A$2*E2 (A$2 stays fixed, D1 adjusts)

Question 3: If cell C3 contains =$B3*C$1, what will appear in D4 after copying?

Answer: =$B4*D$1 (B column fixed, row 1 fixed)

Question 4: When should you use $A$1?

Answer: When you have a single fixed value (like tax rate, discount) that you want to use in many different calculations

Question 5: What's the difference between A$1 and $A1?

Answer: A$1 keeps row 1 fixed (column can change), $A1 keeps column A fixed (row can change)

7.8 Creating Charts Using Spreadsheets

Why Use Charts?

It's not easy to comprehend, compare, analyze, or present data when represented only as numbers. Charts are visual representations that make data:

  • πŸ“Š Easier to understand - See patterns at a glance
  • πŸ“ˆ Better for comparison - Compare values visually
  • 🎯 More effective for presentation - Communicate clearly
  • πŸ’‘ Better for decision-making - Identify trends quickly

7.8.1 Types of Charts

Chart Types

Figure 7.26: Different types of charts available

Chart Type Best Used For Example Uses
Column Chart Comparing values across categories (vertical bars) Monthly sales, test scores, population by city
Bar Chart Comparing values across categories (horizontal bars) Survey results, rankings, product comparisons
Line Chart Showing trends and changes over time Temperature changes, stock prices, growth trends
Pie Chart Showing parts of a whole (percentages) Budget breakdown, market share, survey responses
XY Scatter Chart Showing relationship between two variables Height vs weight, study time vs marks, mathematical functions

Quick Activity: Choose the Right Chart

1. Which chart type would you use to show monthly temperature changes?

Answer: Line Chart (shows trend over time)

2. Which chart type shows how a school budget is distributed?

Answer: Pie Chart (shows parts of a whole)

7.8.2 Creating a Column Chart

Example: Student Marks Column Chart

Student Marks Chart

Figure 7.27: Column chart showing student marks

Sample Data:

Student Math Science English
Ravidu758278
Nadeshean887685
Dinithi928990

Steps to Create Column Chart:

In Microsoft Excel 2010:

  1. Select the data range (A1:D4) including headers
  2. Click Insert β†’ Chart
  3. Select Column Chart type
  4. Choose a specific column chart style
  5. Click OK

In LibreOffice Calc:

  1. Select the data range (A1:D4) including headers
  2. Click Insert β†’ Chart
  3. Select Column chart type
  4. Click Next through the wizard
  5. Click Finish

Adding Chart Title:

In Microsoft Excel 2010:

  1. Select the chart
  2. Click Layout β†’ Chart Title β†’ Above Chart
  3. Type the title (e.g., "Student Marks Comparison")

In LibreOffice Calc:

  1. Select the chart
  2. Click Insert β†’ Title β†’ Main Title
  3. Type the title
  4. Click OK

Adding Axis Labels:

In Microsoft Excel 2010:

  1. Select the chart
  2. Click Layout β†’ Axis Titles
  3. Choose Primary Horizontal Axis Title or Primary Vertical Axis Title
  4. Type the axis label

In LibreOffice Calc:

  1. Select the chart
  2. Click Insert β†’ Title β†’ X-Axis or Y-Axis
  3. Type the axis label
  4. Click OK

7.8.3 Creating a Pie Chart

Example: Total Marks Distribution

Pie Chart

Figure 7.28: Pie chart showing total marks distribution

Steps to Create Pie Chart:

In Microsoft Excel 2010:

  1. Select non-adjacent ranges:
    • Hold Ctrl and select student names (A1:A7)
    • While holding Ctrl, select total marks (G1:G7)
  2. Click Insert β†’ Chart
  3. Select Pie chart type
  4. Choose a pie chart style (2D or 3D)
  5. Click OK

In LibreOffice Calc:

  1. Select student names and total marks (use Ctrl for non-adjacent)
  2. Click Insert β†’ Chart
  3. Select Pie chart type
  4. Click through the wizard
  5. Click Finish
πŸ’‘ Pie Chart Tips:
  • Pie charts automatically calculate and show percentages
  • Best for showing 3-7 categories (too many slices get confusing)
  • Great for showing proportions and relative sizes
  • Can add data labels to show exact values or percentages

7.8.4 Creating an XY Scatter Chart

Example: Quadratic Function Y = XΒ² - 5X - 3

Scatter Chart

Figure 7.29: XY Scatter chart showing quadratic function

Steps to Create Data:

  1. Step 1: Enter X values in row 1 (from -2 to 7)
  2. Step 2: In cell B2, enter formula: =B1^2-5*B1-3
  3. Step 3: Copy formula from B2 across to K2
  4. Step 4: Select data range A1:K2
  5. Step 5: Insert β†’ Chart β†’ XY Scatter
  6. Step 6: Choose "Scatter with Smooth Lines"
Sample Worksheet: | | A | B | C | D | E | F | G | H | I | J | K | |----|----|----|----|----|----|----|----|----|----|----|-----| | 1 | -2 | -1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | | 2 | 9 | 3 | -3 | -7 | -9 | -9 | -7 | -3 | 3 | 9 | Row 2 values calculated using: =B1^2-5*B1-3
πŸ’‘ Chart Best Practices:
  • βœ… Always include clear, descriptive titles
  • βœ… Label both axes appropriately
  • βœ… Choose colors that are easy to distinguish
  • βœ… Use legends to identify different data series
  • βœ… Keep charts simple and focused on the message
  • βœ… Update the data range if you add more data
  • βœ… Choose the right chart type for your data
  • ❌ Don't overcrowd charts with too much data
  • ❌ Don't use 3D effects unless necessary (can distort perception)

7.9 Practical Examples

Example 1: Student Grade Calculator

Grade Calculator

Task: Calculate total, average, and assign grades based on average marks

NameMathScienceEnglishTotalAverageGrade
Saman758278=SUM(B2:D2)=AVERAGE(B2:D2)=IF(F2>=75,"A",IF(F2>=65,"B","C"))
Cell E2 (Total): =SUM(B2:D2) Cell F2 (Average): =AVERAGE(B2:D2) Cell G2 (Grade): =IF(F2>=75,"A",IF(F2>=65,"B",IF(F2>=55,"C","F"))) Copy formulas down for all students

Example 2: Monthly Budget Tracker

Budget Tracker

Task: Track monthly income, expenses, and calculate savings

Cell B8 (Total Income): =SUM(B2:B7) Cell C8 (Total Expenses): =SUM(C2:C7) Cell D2 (Monthly Savings): =B2-C2 Cell D8 (Total Savings): =SUM(D2:D7) or Cell D8: =B8-C8

Example 3: Discount Calculator

Discount Calculator

Task: Calculate discounted prices for multiple items

Cell C1: Discount percentage = 15% (or 0.15) Cell C4 (Discounted Price): =B4*(1-$C$1) or =B4-B4*$C$1 Cell D4 (Savings Amount): =B4-C4 or =B4*$C$1 Copy formulas down for all items Note: $C$1 is absolute so discount rate stays fixed!

Example 4: Temperature Converter

Temperature Converter

Task: Convert Celsius to Fahrenheit and Kelvin

Cell B2: Celsius temperature (e.g., 25) Cell C2 (Fahrenheit): =(B2*9/5)+32 Result: 77Β°F Cell D2 (Kelvin): =B2+273.15 Result: 298.15K Copy formulas down for multiple temperatures

Example 5: Attendance Percentage Calculator

Attendance Calculator

Task: Calculate attendance percentage for students

Cell D2 (Attendance %): =(B2/C2)*100 Format cell D2 as percentage or with 1 decimal place Example: Days Present: 85 Total Days: 100 Attendance %: 85.0%

Example 6: Simple Interest Calculator

Interest Calculator

Task: Calculate simple interest and total amount

Cell B1: Principal = 10000 Cell B2: Rate (%) = 8 Cell B3: Time (years) = 3 Cell B4 (Interest): =(B1*B2*B3)/100 Result: 2400 Cell B5 (Total Amount): =B1+B4 Result: 12400 Formula: Simple Interest = (P Γ— R Γ— T) / 100

Example 7: BMI (Body Mass Index) Calculator

BMI Calculator

Task: Calculate BMI and categorize health status

Cell B2: Weight in kg (e.g., 70) Cell C2: Height in meters (e.g., 1.75) Cell D2 (BMI): =B2/(C2^2) Result: 22.86 Cell E2 (Category): =IF(D2<18.5,"Underweight",IF(D2<25,"Normal",IF(D2<30,"Overweight","Obese"))) BMI Categories: < 18.5: Underweight 18.5-24.9: Normal 25-29.9: Overweight β‰₯ 30: Obese

Example 8: Sales Commission Calculator

Commission Calculator

Task: Calculate sales commission for employees

Cell B1: Commission Rate = 5% (or 0.05) Cell B4: Sales Amount = 50000 Cell C4 (Commission): =B4*$B$1 Result: 2500 Cell D4 (Total Earning): =B4+C4 Result: 52500 Copy formulas down for all salespeople

Example 9: Age Calculator from Birth Date

Age Calculator

Task: Calculate current age from birth date

Cell B2: Birth Date (formatted as date) = 15/08/2010 Cell C2: Current Date = =TODAY() Cell D2 (Age in years): =YEAR(C2)-YEAR(B2) Alternative more accurate formula: =DATEDIF(B2,C2,"Y") This gives age in complete years

Example 10: Electricity Bill Calculator

Electricity Bill

Task: Calculate electricity bill based on meter readings

Cell B1: Previous Reading = 1250 Cell B2: Current Reading = 1520 Cell B3 (Units Consumed): =B2-B1 Result: 270 units Cell B4: Rate per Unit = 25 Cell B5: Fixed Charge = 500 Cell B6 (Bill Amount): =(B3*B4)+B5 Result: (270*25)+500 = 7250 Total Bill = (Units Γ— Rate) + Fixed Charge

7.10 Practice Activities

Activity 1: Personal Information Sheet

Objective: Practice data entry and text formatting

Task: Create a worksheet with information for 5 friends:

  • Columns: Name, Age, Birthday, Phone Number, Email
  • Format phone numbers as Text (to preserve leading 0)
  • Format birthdays as Date (DD-MMM-YYYY format)
  • Center-align all headers and make them Bold
  • Apply borders to the entire table

Activity 2: Multiplication Table Generator

Objective: Practice absolute and relative references

Task: Create a 10Γ—10 multiplication table:

  1. Put numbers 1-10 in column A (A2:A11)
  2. Put numbers 1-10 in row 1 (B1:K1)
  3. In cell B2, enter formula: =$A2*B$1
  4. Copy this formula to the entire range B2:K11
  5. Apply formatting: borders, bold headers, color coding

Expected Result: A complete multiplication table from 1Γ—1 to 10Γ—10

Activity 3: Shopping List with Total

Objective: Practice formulas and currency formatting

Task: Create a shopping list:

  • Columns: Item Name, Quantity, Unit Price, Total Price
  • Add at least 8 different items
  • Formula for Total Price: =Quantity Γ— Unit Price
  • Calculate Grand Total using =SUM() function
  • Format all prices as Currency (Rs.)
  • Add a row for discount (if total > 5000, apply 10% discount)

Activity 4: Class Test Analysis Dashboard

Objective: Practice functions and create charts

Task: Enter test marks for 10 students in 3 subjects:

  1. Calculate Total for each student using =SUM()
  2. Calculate Average for each student using =AVERAGE()
  3. Find Highest score in each subject using =MAX()
  4. Find Lowest score in each subject using =MIN()
  5. Count number of students using =COUNT()
  6. Create a Column Chart showing student totals
  7. Create a Line Chart showing subject averages

Activity 5: Monthly Expense Tracker

Objective: Practice data organization and pie charts

Task: Track expenses for a month:

  • Categories: Food, Transport, Entertainment, Education, Bills, Others
  • Enter expenses for 4 weeks
  • Calculate Total per Category
  • Calculate Total per Week
  • Calculate Grand Total for the month
  • Create a Pie Chart showing expense distribution by category
  • Format all amounts as currency

Activity 6: School Time Table

Objective: Practice formatting and layout design

Task: Create your school weekly timetable:

  • Rows: Time periods (8:00 AM, 9:00 AM, ..., 2:00 PM)
  • Columns: Monday to Friday
  • Fill in subjects for each period
  • Use different background colors for different subjects
  • Merge cells for lunch break or double periods
  • Add borders and make it visually appealing
  • Add your name and class as a header

Activity 7: Weekly Temperature Log with Chart

Objective: Practice data recording and line charts

Task: Record daily temperatures for a week:

  • Columns: Date, Morning Temp (Β°C), Afternoon Temp (Β°C), Evening Temp (Β°C), Average
  • Calculate Average temperature for each day
  • Find Maximum temperature for the week
  • Find Minimum temperature for the week
  • Calculate Weekly Average
  • Create a Line Chart showing temperature trends across the week
  • Include all three time periods on the chart

Activity 8: Library Book Inventory

Objective: Practice data management and calculations

Task: Create a book inventory system:

  • Columns: Book ID, Title, Author, Category, Quantity, Price per Book, Total Value
  • Add at least 15 books with different categories (Fiction, Science, History, etc.)
  • Calculate Total Value: =Quantity Γ— Price
  • Calculate Total Books using =SUM() of quantity
  • Find Most Expensive book using =MAX()
  • Find Cheapest book using =MIN()
  • Calculate Total Inventory Value

Activity 9: Savings Goal Tracker

Objective: Practice cumulative calculations with absolute references

Task: Track progress toward a savings goal:

  • Set a savings goal amount in cell B1 (e.g., Rs. 50,000)
  • Columns: Week Number, Amount Saved, Cumulative Savings, % of Goal Achieved
  • Enter weekly savings amounts (12 weeks)
  • Calculate Cumulative Savings using: =SUM($C$2:C2)
  • Calculate % Achieved: =(Cumulative/Goal)*100
  • Use conditional formatting to highlight when goal is achieved
  • Create a Column Chart showing progress over time

Activity 10: Sports Statistics Tracker

Objective: Practice sports data analysis

Task: Record cricket match statistics:

  • Columns: Player Name, Runs Scored, Balls Faced, Strike Rate, Wickets, Economy Rate
  • Calculate Strike Rate: =(Runs/Balls)*100
  • Find Top Scorer using =MAX()
  • Find Best Strike Rate
  • Calculate Team Total runs using =SUM()
  • Calculate Average runs per player
  • Create a Bar Chart showing player performances
  • Format strike rate as percentage with 2 decimal places

7.11 Questions and Answers

Question 1: What is an electronic spreadsheet?

Answer:

An electronic spreadsheet is a computer application consisting of rows and columns (based on the model of square-ruled books) that allows users to:

  • Perform calculations efficiently and accurately
  • Analyze and organize data
  • Create charts and visual representations
  • Sort and filter information
  • Store data for future use

Question 2: Name four popular spreadsheet software applications and their companies.

Answer:

  1. Microsoft Excel - Microsoft Corporation
  2. LibreOffice Calc - The Document Foundation (Free & Open Source)
  3. Numbers - Apple Inc.
  4. OpenOffice Calc - Apache Foundation (Free & Open Source)

Question 3: What is the cell address for the cell at column F and row 12?

Answer: F12

Explanation: Cell addresses are written with the column letter first, followed by the row number. So column F and row 12 = F12.

Question 4: What is an active cell and how can you identify it?

Answer:

An active cell is the currently selected cell in a worksheet where data can be entered.

You can identify it by:

  • The thick border around the cell
  • The cell address displayed in the Name Box
  • The cell contents shown in the Formula Bar

Question 5: Write the cell range for cells from B5 to D10.

Answer: B5:D10

Explanation: A cell range is written with the first cell address, followed by a colon (:), then the last cell address. This range includes all cells from B5 to D10, covering columns B, C, and D, and rows 5 through 10.

Question 6: What are the three types of data that can be entered in a cell?

Answer:

  1. Labels (Text): Letters, words, text combinations - left-aligned by default
    • Example: "Student Name", "Address", "Product"
  2. Values (Numbers): Numerical figures - right-aligned by default
    • Example: 100, 3.14, 2500
  3. Formulas: Expressions starting with = sign that perform calculations
    • Example: =A1+B1, =SUM(A1:A10)

Question 7: What is the correct order of operator precedence in spreadsheet formulas?

Answer:

Order of Operator Precedence (from highest to lowest):

  1. First: ^ (Exponentiation/Power)
  2. Second: * and / (Multiplication and Division, evaluated left to right)
  3. Third: + and - (Addition and Subtraction, evaluated left to right)

Important: Use brackets ( ) to change the order - expressions in brackets are evaluated first!

Remember: Please Excuse My Dear Aunt Sally (Parentheses, Exponents, Multiplication/Division, Addition/Subtraction)

Question 8: Evaluate the following formula: =5+3*2^2

Answer: 17

Step-by-step solution:

=5+3*2^2 =5+3*4 (calculate 2^2 = 4 first - exponentiation) =5+12 (calculate 3*4 = 12 - multiplication) =17 (calculate 5+12 = 17 - addition)

Question 9: What is the formula to find the sum of cells A1 to A10 using a function?

Answer: =SUM(A1:A10)

Explanation:

This is much simpler and cleaner than writing:

=A1+A2+A3+A4+A5+A6+A7+A8+A9+A10

Both give the same result, but the SUM function is easier to write and understand, especially for large ranges.

Question 10: What is the difference between MAX and MIN functions?

Answer:

FunctionPurposeExample
MAX Finds the largest (maximum) value in a range =MAX(A1:A10) finds the highest value
MIN Finds the smallest (minimum) value in a range =MIN(A1:A10) finds the lowest value

Question 11: What does the COUNT function do? Does it count empty cells?

Answer:

The COUNT function counts the number of cells that contain numerical values in a specified range.

Important: COUNT function:

  • βœ… Counts cells with numbers
  • ❌ Ignores empty cells
  • ❌ Ignores cells with text/labels

Example: =COUNT(B1:B10) will count how many cells in B1:B10 contain numbers.

Question 12: Why should phone numbers be formatted as text in spreadsheets?

Answer:

Phone numbers should be formatted as text because:

  • Phone numbers in Sri Lanka (and many countries) start with 0
  • When entered as numbers, spreadsheets automatically remove leading zeros (because 0771234567 = 771234567 mathematically)
  • Example: 0771234567 becomes 771234567 (losing the important 0)
  • Formatting as text preserves the leading zero and displays the number exactly as entered

How to format: Select cells β†’ Format Cells β†’ Number tab β†’ Text β†’ OK β†’ Then enter phone numbers

Question 13: How do you format cells to show exactly 2 decimal places?

Answer:

Steps:

  1. Select the cell range you want to format
  2. Open Format Cells dialog box (Right-click β†’ Format Cells)
  3. Click the 'Number' tab
  4. Select 'Number' category
  5. Set decimal places to 2
  6. Click OK

Quick method: Use the Increase/Decrease Decimal buttons on the toolbar.

Example: 12.56789 will display as 12.57 (rounded to 2 decimal places)

Question 14: What are the four types of cell references? Give examples of each.

Answer:

TypeExampleWhat Changes When CopiedUse Case
Relative A1 Both column and row change Normal formulas
Absolute Row A$1 Only column changes, row fixed Fixed header row
Absolute Column $A1 Only row changes, column fixed Cumulative totals
Absolute $A$1 Nothing changes - completely fixed Tax rate, discount %

Question 15: If cell C1 contains =A1+B1, what will C2 contain when the formula is copied down?

Answer: =A2+B2

Explanation:

Since A1 and B1 are relative references (no $ signs), both the column letters and row numbers adjust when copied.

When copied down one row:

  • A1 becomes A2 (row increases by 1)
  • B1 becomes B2 (row increases by 1)

Question 16: What is the difference between =A$1+B1 and =$A1+B1?

Answer:

FormulaTypeWhat's FixedWhen Copied RightWhen Copied Down
=A$1+B1 Absolute Row Row 1 is fixed =B$1+C1 =A$1+B2
=$A1+B1 Absolute Column Column A is fixed =$A1+C1 =$A2+B2

Key Difference:

  • A$1: $ before row number β†’ row stays fixed, column can change
  • $A1: $ before column letter β†’ column stays fixed, row can change

Question 17: Name the five types of charts available in spreadsheets.

Answer:

  1. Column Chart - Vertical bars for comparing categories
  2. Bar Chart - Horizontal bars for comparing categories
  3. Line Chart - Shows trends over time
  4. Pie Chart - Shows parts of a whole as percentages
  5. XY Scatter Chart - Shows relationship between two variables

Question 18: Which chart type is best for showing monthly temperature changes over a year?

Answer: Line Chart

Reason:

  • Line charts are ideal for showing trends and changes over time
  • They clearly display how temperature rises and falls across months
  • The continuous line makes it easy to see patterns and seasonal changes
  • Good for identifying trends (warming/cooling patterns)

Why not other charts?

  • Column/Bar: Good for comparison but not as effective for trends
  • Pie: Only shows proportions, not appropriate for time series
  • Scatter: Used for correlation between variables, not time series

Question 19: How many rows and columns does Microsoft Excel 2010 have?

Answer:

ComponentCountPower of 2
Rows 1,048,576 220
Columns 16,384 214

Additional Info:

  • Rows are numbered: 1, 2, 3, ... up to 1,048,576
  • Columns are labeled: A to Z, then AA to AZ, BA to BZ, ... up to XFD
  • Last column is XFD
  • Last cell address is XFD1048576

Question 20: What is the fill handle and how is it used to copy formulas?

Answer:

What is the Fill Handle?

The fill handle is the small black square in the bottom-right corner of the selected cell or range.

How to use it to copy formulas:

  1. Select the cell containing the formula
  2. Move your mouse to the bottom-right corner until you see the black crosshair (+)
  3. Click and hold the left mouse button
  4. Drag the fill handle down, up, left, or right to the cells where you want to copy the formula
  5. Release the mouse button

What happens?

  • The formula is copied to all selected cells
  • Cell references adjust automatically (relative references)
  • Absolute references (with $) remain fixed

Tip: Double-click the fill handle to auto-fill down to the last row with adjacent data!

πŸ“ Chapter Summary

🎯 Key Concepts to Remember:

  • βœ… A worksheet is composed of vertical columns and horizontal rows in a two-dimensional plane
  • βœ… Columns are named with English letters (A, B, C, ... Z, AA, AB, ...)
  • βœ… Rows are named with numbers (1, 2, 3, 4, ...)
  • βœ… Cells are named firstly by column letter, secondly by row number (e.g., D3)
  • βœ… Cell content can be: Label, Value, or Formula
  • βœ… A formula is initiated with an equals sign (=)
  • βœ… There is a precedence of operators: ^ then *// then +/-
  • βœ… Formulas are created using cell addresses, operators, and functions
  • βœ… Formatting tools are used to format labels and values professionally
  • βœ… The fill handle (small black square) is used to copy formulas efficiently
  • βœ… Dollar sign ($) is used to make absolute cell references
  • βœ… Several chart types are available for visualizing data

πŸ’‘ Essential Functions:

FunctionPurposeExample
=SUM()Add values=SUM(A1:A10)
=AVERAGE()Find average=AVERAGE(B1:B5)
=MAX()Find largest value=MAX(C1:C20)
=MIN()Find smallest value=MIN(D1:D15)
=COUNT()Count numbers=COUNT(E1:E50)

⚠️ Common Mistakes to Avoid:

  • ❌ Writing D2=A2*B2 instead of =A2*B2 (formula must start with =)
  • ❌ Forgetting to use $ for absolute references when needed
  • ❌ Not formatting phone numbers as text (leading zeros disappear)
  • ❌ Confusing operator precedence (remember: ^ then */ then +-)
  • ❌ Selecting wrong data ranges for charts
  • ❌ Not using functions when working with large data sets
  • ❌ Copying formulas without checking cell references
  • ❌ Not adding labels and titles to charts

πŸŽ“ Tips for Success:

  1. Plan Before You Start: Think about your worksheet structure before entering data
  2. Use Functions: Don't write long formulas when functions can do it easier
  3. Test Your Formulas: Enter sample data and verify results
  4. Format Appropriately: Make your worksheets easy to read
  5. Label Everything: Use clear headers and titles
  6. Save Regularly: Don't lose your work!
  7. Practice: The more you practice, the better you'll become
  8. Explore: Try different features and functions

πŸ† Quick Reference Card:

TaskShortcut/Method
CopyCtrl + C
PasteCtrl + V
UndoCtrl + Z
RedoCtrl + Y
SaveCtrl + S
Format CellsCtrl + 1 or Right-click β†’ Format Cells
Go to A1Ctrl + Home
Select AllCtrl + A
BoldCtrl + B
ItalicCtrl + I
UnderlineCtrl + U